package com.snopy.base.service;

import com.snopy.base.pojo.Carousel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author snopy
 * @version 1.0.0
 * @classname CarouselService
 * @description
 * @email 77912204@qq.com
 * @date 2022/08/12 12:28
 */
@FeignClient(name = "snopy-carousel-service")
public interface CarouselService {
    /**
     * 查询所有轮播图列表
     * @param isShow
     * @return
     */
    @GetMapping("/queryCarousels")
    List<Carousel> queryAll(Integer isShow);
}
